package cn.hn.java.summer.socket.command;


import cn.hn.java.summer.socket.command.codec.ICmdDataDecoder;
import cn.hn.java.summer.socket.command.codec.ICmdDataEncoder;
import cn.hn.java.summer.socket.command.codec.JsonDataDecoder;
import cn.hn.java.summer.socket.command.codec.JsonDataEncoder;

public class JsonCommandHandler extends AbstractCommandHandler {

	@Override
	public ICmdDataDecoder getDataDecoder() {
		return new JsonDataDecoder();
	}

	@Override
	public ICmdDataEncoder getDataEncoder() {
		return new JsonDataEncoder();
	}

}
